package net.hserver.sync.entity;


import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import lombok.ToString;
import net.hserver.sync.config.SyncType;

import java.util.Date;

@Data
@ToString
@Table("sync_config")
public class SyncConfigEntity {
    @Id(keyType = KeyType.Generator, value= KeyGenerators.flexId)
    private String id;
    private String localPath;
    private String remotePath;
    private SyncType type;
    private Date createTime;
}
